Linking stages in process flows with machine learning

ABSTRACT

A method for designing a logic flow for a user interface is provided. The method comprises receiving from a first task for an automation process file from a user. The automation process file defines a set of system activities. The first task is added to the automation process file and submitted to a machine learning engine, which determines a number of suggested tasks to be performed after the first task. The suggested tasks are based on frequencies with which previous users have used each task after the first task. The suggested tasks are then presented to the user. A second task is received from the user to be performed after the first task. The second task may be selected from the suggested tasks but not necessarily so. The second task is then added to the automation process file.

BACKGROUND INFORMATION 1. Field

The present disclosure relates generally to an improved computer systemand, in particular, to using machine learning to recommend successivesteps during construction of process flows.

2. Background

Software developers use specific tools to define and execute server-sidelogic to interact with external devices, read and write data, validateand process data, and send notifications to end users and other devices.It is common to use the same development tool for each mini applicationon a platform. This development process involves specifying a sequenceof steps in a process flow for the logic to follow. The developer mustclick on every stage in the logic flow to see what type of stage it is,what properties have been added to the stage, and to what type of valuesthe stage is mapped.

SUMMARY

An illustrative embodiment provides a computer-implemented method fordesigning a logic flow for a user interface. The method comprisesreceiving a first task for an automation process file from a user,wherein the automation process file defines a set of system activities.The first task is added to the automation process file and submitted toa machine learning engine. The machine learning engine determines anumber of suggested subsequent tasks to be performed after the firsttask, wherein the suggested subsequent tasks are based on frequencieswith which previous users have used each suggested subsequent task afterthe first task. The suggested subsequent tasks are then presented to theuser. A second task is received from the user to be performed subsequentto the first task, wherein the second task may be selected from thesuggested subsequent tasks but not necessarily so. The second task isthen added to the automation process file.

Another illustrative embodiment provides a system for designing a logicflow for a user interface. The system comprises a bus system, a storagedevice connected to the bus system, wherein the storage device storesprogram instructions, and a number of processors connected to the bussystem, wherein the number of processors execute the programinstructions to: receive from a user a first task for an automationprocess file, wherein the automation process file defines a set ofsystem activities; add the first task to the automation process file;submit the first task to a machine learning engine; determine, with themachine learning engine, a number of suggested subsequent tasks to beperformed after the first task, wherein the suggested subsequent tasksare based on frequencies with which previous users have used eachsuggested subsequent task after the first task; provide the suggestedsubsequent tasks to the user; receive a second task from the user to beperformed subsequent to the first task, wherein the second task may beselected from the suggested subsequent tasks; and add the second task tothe automation process file.

Another illustrative embodiment provides a computer program product fordesigning a logic flow for a user interface. The computer programproduct comprises a computer-readable storage medium having programinstructions embodied thereon to perform the steps of: receiving from auser a first task for an automation process file, wherein the automationprocess file defines a set of system activities; adding the first taskto the automation process file; submitting the first task to a machinelearning engine; determining, with the machine learning engine, a numberof suggested subsequent tasks to be performed after the first task,wherein the suggested subsequent tasks are based on frequencies withwhich previous users have used each suggested subsequent task after thefirst task; providing the suggested subsequent tasks to the user;receiving a second task from the user to be performed subsequent to thefirst task, wherein the second task may be selected from the suggestedsubsequent tasks; and adding the second task to the automation processfile.

The features and functions can be achieved independently in variousembodiments of the present disclosure or may be combined in yet otherembodiments in which further details can be seen with reference to thefollowing description and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The novel features believed characteristic of the illustrativeembodiments are set forth in the appended claims. The illustrativeembodiments, however, as well as a preferred mode of use, furtherobjectives and features thereof, will best be understood by reference tothe following detailed description of an illustrative embodiment of thepresent disclosure when read in conjunction with the accompanyingdrawings, wherein:

FIG. 1 is a pictorial representation of a network of data processingsystems in which illustrative embodiments may be implemented;

FIG. 2 is an illustration of a block diagram of a computer system fordevelopment of a logic flow for a user interface in accordance with anillustrative embodiment;

FIG. 3 depicts a newly opened document for constructing a user interfacelogic flow in accordance with an illustrative embodiment;

FIG. 4 depicts an addition icon for adding another stage to the logicflow document in accordance with an illustrative embodiment;

FIG. 5 depicts a route menu for the logic flow document in accordancewith an illustrative embodiment;

FIG. 6 depicts selection of a route to another stage for the logic flowdocument in accordance with an illustrative embodiment;

FIG. 7 depicts a next stage menu for the logic flow document inaccordance with an illustrative embodiment;

FIG. 8 depicts selection of a next stage for the logic flow document inaccordance with an illustrative embodiment;

FIG. 9 depicts the addition of the next stage to the logic flow documentin accordance with an illustrative embodiment;

FIG. 10 depicts a flowchart illustrating a process for designing a userinterface logic flow in accordance with an illustrative embodiment; and

FIG. 11 is an illustration of a block diagram of a data processingsystem in accordance with an illustrative embodiment.

DETAILED DESCRIPTION

The illustrative embodiments recognize and take into account one or moredifferent considerations. For example, the illustrative embodimentsrecognize and take into account that software developers use specifictools to define and execute server-side logic, which involves specifyinga sequence of steps in a process flow for the logic to follow.

The illustrative embodiments also recognize and take into account thatis common to use the same development tool for each mini application ona platform. Depending on the type of logic process flow, these miniapplications can be similar.

The illustrative embodiments also recognize and take into account thatit is often on clear to developers how the logic flow will work uponopening and viewing the document in question. The developer must clickon every stage in the logic flow to see what type of stage it is, whatproperties have been added to the stage, and to what type of values thestage is mapped.

The illustrative embodiments provide a method for designing a flow oflogic underling a user interface (UI). For example, when a calculationis performed and encounters either success or an error, the logic flowdetermines the notification supplied to the user for either outcome. Amachine learning method provides suggestions to developers for addingstages to a process logic flow and allowing the developers to add thesestages beyond a simple drag and drop interaction within the developmenttool. When a developer selects a stage in the tool interface, an iconappears. Clicking on the icon presents a menu of routes, which areconnections of various types between stages in the logic flow, dependingon whether the system encounters an error or not. After selecting aroute type, the user can select a subsequent stage listed in theinterface to link to the previous stage, or the user can dive deeperinto the presented menu, which offers a number of suggested stagesselected by a machine learning engine.

As used here, “a number of” when used with reference to items means oneor more items. For example, a number of suggested stages is one or moresuggested stages.

The suggested stages comprise the most probable next stages in a rankedlist based on the frequency with which previous developers have usedeach suggested stage in creating similar logic flows. Once the user hasadded a next stage to the logic flow and entered all of the propertyvalues for that stage, the user will see certain properties that aremost important shown on the stage itself in the developer toolinterface. Once the logic flow is in place, the UI can be built with adevelopment tool linked to the logic flow.

With reference to FIG. 1, a pictorial representation of a network ofdata processing systems is depicted in which illustrative embodimentsmay be implemented. Network data processing system 100 is a network ofcomputers in which the illustrative embodiments may be implemented.Network data processing system 100 contains network 102, which is themedium used to provide communications links between various devices andcomputers connected together within network data processing system 100.Network 102 might include connections, such as wire, wirelesscommunication links, or fiber optic cables.

In the depicted example, server computer 104 and server computer 106connect to network 102 along with storage unit 108. In addition, clientdevices 110 connect to network 102. In the depicted example, servercomputer 104 provides information, such as boot files, operating systemimages, and applications to client devices 110. Client devices 110 canbe, for example, computers, workstations, or network computers. Asdepicted, client devices 110 include client computers 112, 114, and 116.Client devices 110 can also include other types of client devices suchas mobile phone 118, tablet computer 120, and smart glasses 122.

In this illustrative example, server computer 104, server computer 106,storage unit 108, and client devices 110 are network devices thatconnect to network 102 in which network 102 is the communications mediafor these network devices. Some or all of client devices 110 may form anInternet of things (IoT) in which these physical devices can connect tonetwork 102 and exchange information with each other over network 102.

Client devices 110 are clients to server computer 104 in this example.Network data processing system 100 may include additional servercomputers, client computers, and other devices not shown. Client devices110 connect to network 102 utilizing at least one of wired, opticalfiber, or wireless connections.

Program code located in network data processing system 100 can be storedon a computer-recordable storage medium and downloaded to a dataprocessing system or other device for use. For example, the program codecan be stored on a computer-recordable storage medium on server computer104 and downloaded to client devices 110 over network 102 for use onclient devices 110.

In the depicted example, network data processing system 100 is theInternet with network 102 representing a worldwide collection ofnetworks and gateways that use the Transmission ControlProtocol/Internet Protocol (TCP/IP) suite of protocols to communicatewith one another. At the heart of the Internet is a backbone ofhigh-speed data communication lines between major nodes or hostcomputers consisting of thousands of commercial, governmental,educational, and other computer systems that route data and messages. Ofcourse, network data processing system 100 also may be implemented usinga number of different types of networks. For example, network 102 can becomprised of at least one of the Internet, an intranet, a local areanetwork (LAN), a metropolitan area network (MAN), or a wide area network(WAN). FIG. 1 is intended as an example, and not as an architecturallimitation for the different illustrative embodiments.

In the illustrative examples, the hardware may take the form of acircuit system, an integrated circuit, an application-specificintegrated circuit (ASIC), a programmable logic device, or some othersuitable type of hardware configured to perform a number of operations.With a programmable logic device, the device may be configured toperform the number of operations. The device may be reconfigured at alater time or may be permanently configured to perform the number ofoperations. Programmable logic devices include, for example, aprogrammable logic array, programmable array logic, a field programmablelogic array, a field programmable gate array, and other suitablehardware devices. Additionally, the processes may be implemented inorganic components integrated with inorganic components and may becomprised entirely of organic components, excluding a human being. Forexample, the processes may be implemented as circuits in organicsemiconductors.

Turning to FIG. 2, a block diagram of a computer system for developmentof a logic flow for a user interface is depicted in accordance with anillustrative embodiment. Computer system 200 might be an example ofclient devices 110 in FIG. 1 and might be used to develop server-sidelogic for a server such as server 104.

Computer system 200 comprises a number of processors 202 and machineintelligence 204. Machine intelligence 204 comprises machine learningengine 206 and predictive algorithms 208.

Machine intelligence 204 can be implemented using one or more systemssuch as an artificial intelligence system, a neural network, a Bayesiannetwork, an expert system, a fuzzy logic system, a genetic algorithm, orother suitable types of systems. Machine learning engine 206 andpredictive algorithms 208 can make computer system 200 a special purposecomputer for dynamic predictive modelling.

In an embodiment, processors 202 comprises one or more conventionalgeneral-purpose central processing units (CPUs). In an alternateembodiment, processors 202 comprises one or more graphical processingunits (GPUs). Though originally designed to accelerate the creation ofimages with millions of pixels whose frames need to be continuallyrecalculated to display output in less than a second, GPUs areparticularly well suited to machine learning. Their specialized parallelprocessing architecture allows them to perform many more floating-pointoperations per second then a CPU, on the order of 100× more. GPUs can beclustered together to run neural networks comprising hundreds ofmillions of connection nodes. Processors can also comprise a multicoreprocessor, a physics processing unit (PPU), a digital signal processor(DSP), a network processor, or some other suitable type of processor.Further processors 202 can be homogenous or heterogeneous. For example,processors 202 can be central processing units. In another example,processors 202 can be a mix of central processing units and graphicalprocessing units.

Canvas 216 provides an interface in which the user can open a document218 to develop a process flow 220 for software functions such as for aUI. Computer system 200 comprises task library 210 of possible systemactivities from which the user can select stages 222 of process flow220. As stages 222 are added to process flow 220, system tasks 214associated with the stages are added to automation process file 212,which defines a set of system activities for an automation interface.

For each stage 224 among stages 222, the user might select a route menu226 from which the user can select a number of routes 228 from whichprocess flow 220 proceeds after stage 224. The choices offered in routemenu 226 might depend on the specific properties of stage 224. Forexample, if stage 224 is a decision step, route menu 226 might includepossible links to subsequent stages depending on if the decision has atrue value or a false value. As another example, if stage 224 is anextract, transform, load (ETL) job, route menu 226 might include optionsto link to subsequent stages depending whether the ETL job is successfulor there is an error.

After a route 230 has been selected from route menu 226, the user mightthen be presented with a stage menu 232 that includes a number ofpossible next stages 234 to perform after stage 224. The choice of nextstages 234 in stage menu 232 might depend on the properties of stage 224and the route 230 selected from stage 224. Next stages 234 presented instage menu 232 or a subset thereof might be suggestions generated bymachine learning engine 206. For example, suggested next stages 234might comprise a ranking listing of five subsequent stages that havebeen most commonly used by other developers after stage 224 or similarstages. By learning from past developer experience, machine learningengine 206 can assist the user in selecting the next stage 236 inprocess flow 220, thereby reducing the time and effort expended by theuser.

There are three main categories of machine learning: supervised,unsupervised, and reinforcement learning. Supervised machine learningcomprises providing the machine with training data and the correctoutput value of the data. During supervised learning the values for theoutput are provided along with the training data (labeled dataset) forthe model building process. The algorithm, through trial and error,deciphers the patterns that exist between the input training data andthe known output values to create a model that can reproduce the sameunderlying rules with new data. Examples of supervised learningalgorithms include regression analysis, decision trees, k-nearestneighbors, neural networks, and support vector machines.

If unsupervised learning is used, not all of the variables and datapatterns are labeled, forcing the machine to discover hidden patternsand create labels on its own through the use of unsupervised learningalgorithms. Unsupervised learning has the advantage of discoveringpatterns in the data with no need for labeled datasets. Examples ofalgorithms used in unsupervised machine learning include k-meansclustering, association analysis, and descending clustering.

Whereas supervised and unsupervised methods learn from a dataset,reinforcement learning methods learn from feedback to re-learn/retrainthe models. Algorithms are used to train the predictive model throughinteracting with the environment using measurable performance criteria.

However, the user does not necessarily have to select a next stepsuggested by machine learning engine 206. Rather, the user might alsohave the option to manually search task library 210 for other possiblestages that are allowed by computer system 200. If the user chooses notto select one of the suggestions, machine learning engine 206 can usethis alternative selection as learning data to improve futuresuggestions.

After the user selects the next stage 236 and adds it to process flow220, stage 236 is added to tasks 214 in automation process file 212.Tasks 214 can be defined as JavaScript object notation (JSON) objects.

Computer system 200 can be implemented in software, hardware, firmwareor a combination thereof. When software is used, the operationsperformed by computer system 200 can be implemented in program codeconfigured to run on hardware, such as a processor unit. When firmwareis used, the operations performed by computer system 200 can beimplemented in program code and data and stored in persistent memory torun on a processor unit. When hardware is employed, the hardware mayinclude circuits that operate to perform the operations in computersystem 200.

In the illustrative examples, the hardware may take a form selected fromat least one of a circuit system, an integrated circuit, an applicationspecific integrated circuit (ASIC), a programmable logic device, or someother suitable type of hardware configured to perform a number ofoperations. With a programmable logic device, the device can beconfigured to perform the number of operations. The device can bereconfigured at a later time or can be permanently configured to performthe number of operations. Programmable logic devices include, forexample, a programmable logic array, a programmable array logic, a fieldprogrammable logic array, a field programmable gate array, and othersuitable hardware devices. Additionally, the processes can beimplemented in organic components integrated with inorganic componentsand can be comprised entirely of organic components excluding a humanbeing. For example, the processes can be implemented as circuits inorganic semiconductors.

These components can be located in a computer system, which is aphysical hardware system and includes one or more data processingsystems. When more than one data processing system is present in thecomputer system, those data processing systems are in communication witheach other using a communications medium. The communications medium canbe a network. The data processing systems can be selected from at leastone of a computer, a server computer, a tablet computer, or some othersuitable data processing system.

FIGS. 3-9 illustrate the steps of adding stages to a UI logic flowcanvas 300 in accordance with an illustrative embodiment. Document 302might be an example of document 218 in FIG. 2 that is opened in a canvas300, which might be an example of canvas 216.

FIG. 3 depicts a newly opened document for constructing a UI logic flowin accordance with an illustrative embodiment. In the present example,when the user opens the new document 302, the document automaticallybegins with a start stage 302 by default.

FIG. 4 depicts an addition icon for adding another stage to the logicflow document in accordance with an illustrative embodiment. When theuser wants to add another stage to the logic flow in canvas 300, theuser can hover the cursor over start stage 304, which causes add button306 to appear.

FIG. 5 depicts a route menu for the logic flow document in accordancewith an illustrative embodiment. When the user clicks on the add button306, a route menu 308 appears, which allows the user to select a processpath after start stage 304. The route choices presented in menu 308might be determined by the type of preceding stage. In the presentexample, since stage 304 is a start stage the only route choice providedin menu 308 is linking to a subsequent stage. For other types of stages,the route choices might include, e.g., success, error, true, false,etc., depending on the type of stage in question (e.g., decision, ETLjob, etc.).

FIG. 6 depicts selection of a route to another stage for the logic flowdocument in accordance with an illustrative embodiment. The user selectsthe arrow 310 for the Link option, which will call up a sub-menu ofpossible next stages, shown in FIG. 7.

FIG. 7 depicts a next stage menu for the logic flow document inaccordance with an illustrative embodiment. Next stage menu 312comprises a number of suggested next stages 314 based on the frequencywith which past users have added those stages to other process flows.Suggestions 314 are generated by a machine learning engine, such asmachine learning engine 206 in FIG. 2. Suggestions 314 might begenerated from predictions about the next stage in the flow based on thefrequency with which past developers have added particular stages or theprobability that a developer would add a following stage based on whatstages already exist on document 302. Stage menu 312 might also displaystages that are already on the document 302, allowing the route toconnect back to a previous stage.

The user may choose one of the suggested stages 314 provided by themachine learning engine but does not have to do so. The machine learningsuggestions 314 are provided to assist the user, not limit the user'soptions. The user may also choose another stage listed in the menu 312that is not one of the suggestions. The user can scroll through astandard list of stages in menu 312. These standard stages can also bemade available to the user in a block menu (not shown) in the interface.The user might also use a search function, represented by magnifyingglass icon 316 to search for available stages (i.e. stored in tasklibrary 210).

FIG. 8 depicts selection of a next stage for the logic flow document inaccordance with an illustrative embodiment. In the present example, theuser selects the stage Call Logiflow 318 from among the suggestions.

FIG. 9 depicts the addition of the next stage to the logic flow documentin accordance with an illustrative embodiment. In the present example,after selection of Call Logiflow 318 from the suggestions, a CallLogiflow stage 320 is added to document 302. The Call Logiflow stage 320is connected to start stage 304 by link 322, which was previouslyselected from route menu 308. In an embodiment the icon for CallLogiflow stage 320 is “stuck” to cursor 324, allowing the user to movethe icon to any position on document 302 the user sees fit whilemaintaining link 322 to start stage 304.

The steps illustrated in FIGS. 3-9 can be repeated for additional stagesadded to the logic flow of document 302, finishing with the addition ofan end stage.

FIG. 10 depicts a flowchart illustrating a process for designing a UIlogic flow in accordance with an illustrative embodiment. The process inFIG. 10 can be implemented in hardware, software, or both. Whenimplemented in software, the process can take the form of program codethat is run by one of more processor units located in one or morehardware devices in one or more computer systems. Process 1000 might beimplemented in computer system 200 shown in FIG. 2.

Process 1000 beings by receiving from a user a first task for anautomation process file, wherein the automation process file defines aset of system activities for an automation interface (step 1002). Thefirst task is added to the automation process file (step 1004). Theautomation process file might comprise a beginning task, a number ofuser-defined tasks, and a stop task. The tasks might be defined asJavaScript Object Notation (JSON) objects.

The first task is then submitted to a machine learning engine (step1006). The machine learning engine determines a number of suggestedsubsequent tasks to be performed after the first task (step 1008). Thesuggested subsequent tasks might be based on the frequencies with whichprevious users have used each suggested subsequent task after tasksalready added to the automation process file.

A route selection is received from the user, which defines a processpath from the first task (step 1010).

The suggested subsequent tasks are then provided to the user (step1012). Providing the suggested subsequent tasks to the user mightcomprise displaying the suggested subsequent tasks to the user through adrop-down menu.

A second task is received from the user to be performed subsequent tothe first task (step 1014). The second task may be selected from thesuggested subsequent tasks but does not have to be. The second taskreceived from the user might not be one of the suggested subsequenttasks. However, all tasks added to the automation process file areselected from a menu of predefined tasks, such as contained in tasklibrary 210 in FIG. 2.

The second task is added to the automation process file (step 1016). Thesecond task received from the user is connected to the first task by theroute receive in step 1010. Process 1000 then ends.

Turning now to FIG. 11, an illustration of a block diagram of a dataprocessing system is depicted in accordance with an illustrativeembodiment. Data processing system 1100 may be used to implement one ormore computers shown in FIG. 1 (e.g., client devices 110 and servers104, 106) and computer system 200 in FIG. 2. In this illustrativeexample, data processing system 1100 includes communications framework1102, which provides communications between processor unit 1104, memory1106, persistent storage 1108, communications unit 1110, input/outputunit 1112, and display 1114. In this example, communications framework1102 may take the form of a bus system.

Processor unit 1104 serves to execute instructions for software that maybe loaded into memory 1106. Processor unit 1104 may be a number ofprocessors, a multi-processor core, or some other type of processor,depending on the particular implementation. In an embodiment, processorunit 1104 comprises one or more conventional general-purpose centralprocessing units (CPUs). In an alternate embodiment, processor unit 1104comprises one or more graphical processing units (CPUs).

Memory 1106 and persistent storage 1108 are examples of storage devices1116. A storage device is any piece of hardware that is capable ofstoring information, such as, for example, without limitation, at leastone of data, program code in functional form, or other suitableinformation either on a temporary basis, a permanent basis, or both on atemporary basis and a permanent basis. Storage devices 1116 may also bereferred to as computer-readable storage devices in these illustrativeexamples. Memory 1116, in these examples, may be, for example, a randomaccess memory or any other suitable volatile or non-volatile storagedevice. Persistent storage 1108 may take various forms, depending on theparticular implementation.

For example, persistent storage 1108 may contain one or more componentsor devices. For example, persistent storage 1108 may be a hard drive, aflash memory, a rewritable optical disk, a rewritable magnetic tape, orsome combination of the above. The media used by persistent storage 1108also may be removable. For example, a removable hard drive may be usedfor persistent storage 1108. Communications unit 1110, in theseillustrative examples, provides for communications with other dataprocessing systems or devices. In these illustrative examples,communications unit 1110 is a network interface card.

Input/output unit 1112 allows for input and output of data with otherdevices that may be connected to data processing system 1100. Forexample, input/output unit 1112 may provide a connection for user inputthrough at least one of a keyboard, a mouse, or some other suitableinput device. Further, input/output unit 1112 may send output to aprinter. Display 1114 provides a mechanism to display information to auser.

Instructions for at least one of the operating system, applications, orprograms may be located in storage devices 1116, which are incommunication with processor unit 1104 through communications framework1102. The processes of the different embodiments may be performed byprocessor unit 1104 using computer-implemented instructions, which maybe located in a memory, such as memory 1106.

These instructions are referred to as program code, computer-usableprogram code, or computer-readable program code that may be read andexecuted by a processor in processor unit 1104. The program code in thedifferent embodiments may be embodied on different physical orcomputer-readable storage media, such as memory 1106 or persistentstorage 1108.

Program code 1118 is located in a functional form on computer-readablemedia 1120 that is selectively removable and may be loaded onto ortransferred to data processing system 1100 for execution by processorunit 1104. Program code 1118 and computer-readable media 1120 formcomputer program product 1122 in these illustrative examples. In oneexample, computer-readable media 1120 may be computer-readable storagemedia 1124 or computer-readable signal media 1126.

In these illustrative examples, computer-readable storage media 1124 isa physical or tangible storage device used to store program code 1118rather than a medium that propagates or transmits program code 1118.Computer readable storage media 1124, as used herein, is not to beconstrued as being transitory signals per se, such as radio waves orother freely propagating electromagnetic waves, electromagnetic wavespropagating through a waveguide or other transmission media (e.g., lightpulses passing through a fiber-optic cable), or electrical signalstransmitted through a wire, as used herein, is not to be construed asbeing transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Alternatively, program code 1118 may be transferred to data processingsystem 1100 using computer-readable signal media 1126. Computer-readablesignal media 1126 may be, for example, a propagated data signalcontaining program code 1118. For example, computer-readable signalmedia 1126 may be at least one of an electromagnetic signal, an opticalsignal, or any other suitable type of signal. These signals may betransmitted over at least one of communications links, such as wirelesscommunications links, optical fiber cable, coaxial cable, a wire, or anyother suitable type of communications link.

The different components illustrated for data processing system 1100 arenot meant to provide architectural limitations to the manner in whichdifferent embodiments may be implemented. The different illustrativeembodiments may be implemented in a data processing system includingcomponents in addition to or in place of those illustrated for dataprocessing system 1100. Other components shown in FIG. 11 can be variedfrom the illustrative examples shown. The different embodiments may beimplemented using any hardware device or system capable of runningprogram code 1118.

As used herein, the phrase “a number” means one or more. The phrase “atleast one of”, when used with a list of items, means differentcombinations of one or more of the listed items may be used, and onlyone of each item in the list may be needed. In other words, “at leastone of” means any combination of items and number of items may be usedfrom the list, but not all of the items in the list are required. Theitem may be a particular object, a thing, or a category.

For example, without limitation, “at least one of item A, item B, oritem C” may include item A, item A and item B, or item C. This examplealso may include item A, item B, and item C or item B and item C. Ofcourse, any combinations of these items may be present. In someillustrative examples, “at least one of” may be, for example, withoutlimitation, two of item A; one of item B; and ten of item C; four ofitem B and seven of item C; or other suitable combinations.

The flowcharts and block diagrams in the different depicted embodimentsillustrate the architecture, functionality, and operation of somepossible implementations of apparatuses and methods in an illustrativeembodiment. In this regard, each block in the flowcharts or blockdiagrams may represent at least one of a module, a segment, a function,or a portion of an operation or step. For example, one or more of theblocks may be implemented as program code.

In some alternative implementations of an illustrative embodiment, thefunction or functions noted in the blocks may occur out of the ordernoted in the figures. For example, in some cases, two blocks shown insuccession may be performed substantially concurrently, or the blocksmay sometimes be performed in the reverse order, depending upon thefunctionality involved. Also, other blocks may be added in addition tothe illustrated blocks in a flowchart or block diagram.

The description of the different illustrative embodiments has beenpresented for purposes of illustration and description and is notintended to be exhaustive or limited to the embodiments in the formdisclosed. The different illustrative examples describe components thatperform actions or operations. In an illustrative embodiment, acomponent may be configured to perform the action or operationdescribed. For example, the component may have a configuration or designfor a structure that provides the component an ability to perform theaction or operation that is described in the illustrative examples asbeing performed by the component. Many modifications and variations willbe apparent to those of ordinary skill in the art. Further, differentillustrative embodiments may provide different features as compared toother desirable embodiments. The embodiment or embodiments selected arechosen and described in order to best explain the principles of theembodiments, the practical application, and to enable others of ordinaryskill in the art to understand the disclosure for various embodimentswith various modifications as are suited to the particular usecontemplated.

What is claimed is:
 1. A computer-implemented method of designing alogic flow for a user interface, the method comprising: using a numberof processors to perform the steps of: receiving from a user a firsttask for an automation process file, wherein the automation process filedefines a set of system activities; adding the first task to theautomation process file; submitting the first task to a machine learningengine; determining, with the machine learning engine, a number ofsuggested subsequent tasks to be performed after the first task, whereinthe suggested subsequent tasks are based on frequencies with whichprevious users have used each suggested subsequent task after the firsttask; providing the suggested subsequent tasks to the user; receiving asecond task from the user to be performed subsequent to the first task,wherein the second task may be selected from the suggested subsequenttasks; and adding the second task to the automation process file.
 2. Themethod of claim 1, wherein the automation process file comprises: abeginning task; a number of user-defined tasks; and a stop task.
 3. Themethod of claim 1, wherein all tasks added to the automation processfile are selected from a menu of predefined tasks.
 4. The method ofclaim 1, wherein the tasks are defined as JSON objects.
 5. The method ofclaim 1, wherein providing the suggested subsequent tasks to the usercomprises displaying the suggested subsequent tasks to the user througha drop-down menu.
 6. The method of claim 1, wherein the second taskreceived from the user is not one of the suggested subsequent tasks. 7.The method of claim 1, further comprising receiving a route from theuser, wherein the route defines a process path from the first task. 8.The method of claim 7, wherein the second task received from the user isconnected to the first task by the route.
 9. A system for designing alogic flow for a user interface, the system comprising: a bus system; astorage device connected to the bus system, wherein the storage devicestores program instructions; and a number of processors connected to thebus system, wherein the number of processors execute the programinstructions to: receive from a user a first task for an automationprocess file, wherein the automation process file defines a set ofsystem activities; add the first task to the automation process file;submit the first task to a machine learning engine; determine, with themachine learning engine, a number of suggested subsequent tasks to beperformed after the first task, wherein the suggested subsequent tasksare based on frequencies with which previous users have used eachsuggested subsequent task after the first task; provide the suggestedsubsequent tasks to the user; receive a second task from the user to beperformed subsequent to the first task, wherein the second task may beselected from the suggested subsequent tasks; and add the second task tothe automation process file.
 10. The system of claim 9, wherein theautomation process file comprises: a beginning task; a number ofuser-defined tasks; and a stop task.
 11. The system of claim 9, whereinall tasks added to the automation process file are selected from a menuof predefined tasks.
 12. The system of claim 9, wherein the tasks aredefined as JSON objects.
 13. The system of claim 9, wherein providingthe suggested subsequent tasks to the user comprises displaying thesuggested subsequent tasks to the user through a drop-down menu.
 14. Thesystem of claim 9, wherein the second task received from the user is notone of the suggested subsequent tasks.
 15. The system of claim 9, wherein the process further execute instructions to receive a route from theuser, wherein the route defines a process path from the first task. 16.The system of claim 15, wherein the second task received from the useris connected to the first task by the route.
 17. A computer programproduct for designing a logic flow for a user interface, the computerprogram product comprising: a computer-readable storage medium havingprogram instructions embodied thereon to perform the steps of: receivingfrom a user a first task for an automation process file, wherein theautomation process file defines a set of system activities; adding thefirst task to the automation process file; submitting the first task toa machine learning engine; determining, with the machine learningengine, a number of suggested subsequent tasks to be performed after thefirst task, wherein the suggested subsequent tasks are based onfrequencies with which previous users have used each suggestedsubsequent task after the first task; providing the suggested subsequenttasks to the user; receiving a second task from the user to be performedsubsequent to the first task, wherein the second task may be selectedfrom the suggested subsequent tasks; and adding the second task to theautomation process file.
 18. The computer program product of claim 17,wherein the automation process file comprises: a beginning task; anumber of user-defined tasks; and a stop task.
 19. The computer programproduct of claim 17, wherein all tasks added to the automation processfile are selected from a menu of predefined tasks.
 20. The computerprogram product of claim 17, wherein the tasks are defined as JSONobjects.
 21. The computer program product of claim 17, wherein providingthe suggested subsequent tasks to the user comprises displaying thesuggested subsequent tasks to the user through a drop-down menu.
 22. Thecomputer program product of claim 17, wherein the second task receivedfrom the user is not one of the suggested subsequent tasks.
 23. Thecomputer program product of claim 17, further comprising instructionsfor receiving a route from the user, wherein the route defines a processpath from the first task.
 24. The computer program product according toclaim 23, wherein the second task received from the user is connected tothe first task by the route.